package ru.paswd.marketprice.ui.view

import moxy.viewstate.strategy.AddToEndStrategy
import moxy.viewstate.strategy.StateStrategyType
import ru.paswd.marketprice.data.models.LatLng
import ru.paswd.marketprice.data.models.Price
import ru.paswd.marketprice.data.models.PriceWithShop

interface   PriceMapView : BaseView {
    @StateStrategyType(AddToEndStrategy::class)
    fun setMapPoints(userPosition: LatLng, points: List<PriceWithShop>)

    @StateStrategyType(AddToEndStrategy::class)
    fun displayShopInfo(priceWithShop: PriceWithShop)

    @StateStrategyType(AddToEndStrategy::class)
    fun displayHistory(history: List<Price>)
}